#ifndef _SYS_MAIN_H_
#define _SYS_MAIN_H_

#include "esp_err.h"
#include "lvgl.h"
#include "board.h"
#include "ui_manager.h"
#include "msg_manager.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    uint8_t state;
} sys_main_data_t;

void sys_main_view_init(uint8_t view_id);
void sys_main_view_exit(uint8_t view_id);

void sys_key_input_handler(uint32_t key_event);
void sys_main_hotplug_event_handle(struct app_msg *msg);

#ifdef __cplusplus
}
#endif

#endif /* _SYS_MAIN_H_ */
